Skip to content

[ci] Add basic compilation check for HXCPP_TRACY - #1455

Open
tobil4sk wants to merge 2 commits into
HaxeFoundation:masterfrom
tobil4sk:ci-tracy-compile
Open

tobil4sk wants to merge 2 commits into
HaxeFoundation:masterfrom
tobil4sk:ci-tracy-compile

Conversation

@tobil4sk

@tobil4sk tobil4sk commented Nov 1, 2026

Copy link
Copy Markdown
Member

This doesn't check functionality, but at least makes sure that
HXCPP_TRACY builds can compile.

Note, the binary this build produces doesn't actually run because
__hxcpp_hxt_start_telemetry throws an unimplemented exception in
TelemetryTracy.

Also includes a fix for building tracy support with gcc, closes #1170

When compiling TelemetryTracy.cpp, it includes hxcpp.h, and then
it includes TelemetryTracy.h which also includes hxcpp.h. With
precompiled headers turned on, gcc gives an error when including hxcpp.h
a second time. We can avoid it by guarding the hxcpp.h include.
This doesn't check functionality, but at least makes sure that
HXCPP_TRACY builds can compile.

Note, the binary this build produces doesn't actually run because
__hxcpp_hxt_start_telemetry throws an unimplemented exception in
TelemetryTracy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Linux] Error when compiling with HXCPP_TRACY

1 participant